package com.ocom.common.request.payhandle;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class CheckPayRequest {
    @Min(1l)
    @NotNull(message = "companyId 不能为空")
    Long companyId ;
    @Min(1l)
    @NotNull(message = "pId 不能为空")
    @JsonProperty("pId")
    Long pId ;
    @Min(0)
    @NotNull(message = "merchId 不能为空")
    Long merchId;

    String orderNo;
    String deviceNo;
}
